package org.dromara.work.domain.vo;

import org.dromara.work.domain.MhCategory;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 地名门户栏目视图对象 dm_mh_category
 *
 * @author Chen
 * @date 2025-02-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = MhCategory.class)
public class MhCategoryVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 栏目名称
     */
    @ExcelProperty(value = "栏目名称")
    private String title;

    /**
     * 父id
     */
    @ExcelProperty(value = "父id")
    private Long parentId;

    /**
     * 排序号
     */
    @ExcelProperty(value = "排序号")
    private Long orderNum;

    /**
     * 是否显示
     */
    @ExcelProperty(value = "是否显示")
    private Boolean show;

    /**
     * 关键字
     */
    @ExcelProperty(value = "关键字")
    private String keyword;

    /**
     * 是否外链
     */
    private Boolean link;

    /**
     * 链接地址
     */
    private String linkUrl;


}
